﻿@model AuthenticationMethodModel
@{
    //page title
    ViewBag.Title = T("Admin.Configuration.ExternalAuthenticationMethods.Configure").Text + " - " + @Model.FriendlyName;
    //active menu item (system name)
    Html.SetActiveMenuItemSystemName("External authentication methods");
}

<div class="content-header clearfix">
    <h1>
        @T("Admin.Configuration.ExternalAuthenticationMethods.Configure") - @Model.FriendlyName
        <small>
            <i class="fa fa-arrow-circle-left"></i>
            <a asp-action="List" asp-controller="Plugin" asp-area="Admin">@T("Admin.ContentManagement.Plugin.BackToList")</a>
        </small>
    </h1>
</div>
<div class="content">
    <div class="form-horizontal">
        @if (!String.IsNullOrEmpty(Model.ConfigurationActionName))
        {
            @Html.Action(Model.ConfigurationActionName, Model.ConfigurationControllerName, Model.ConfigurationRouteValues)
        }
        else
        {
            <div class="panel-group">
                <div class="panel panel-default">
                    <div class="panel-body">
                        @T("Admin.Common.ConfigurationNotRequired")
                    </div>
                </div>
            </div>
        }
    </div>
</div>
